<template>
  <div class="box"
    v-bind:style="{ backgroundImage: 'url(' + item.cs[0].image_url + ')' }" @click="dianji(item.id)">
    <p>{{ item.name }}</p>
    <div class="zhe">
  </div>
  </div>
  
</template>

<script>
// import { url } from 'inspector';

export default {
  props: ["item"],
};
</script>

<style lang="scss" scoped>
.box {
  background-repeat: no-repeat;
  background-position: -132rem 17rem;
  background-size: 263% 80%;
  text-align: center;
  line-height: 110rem;
  font-size: 17rem;
  font-weight: 600;
  width: 23%;
  height: 78rem;
  color: #000000;
}
.zhe{
  position: absolute;
  top: 0;
  left: 0;
  background-color: rgba(0,0,0, 0.7);
}
</style>
